package test.test.mem;

import net.rubyeye.xmemcached.MemcachedClient;
import test.BaseTest;

import javax.annotation.Resource;

public class MemTest1 extends BaseTest {

    @Resource(name = "pcsProductionMemeryClient")
    private MemcachedClient zmemcachedClient;


    public void test() {
        test5_9();
    }


    public void test5_9() {
        try {
            String MEMCACHE_KEY = "com.finance.lc.fund.web.fa";
//            String memKey = MEMCACHE_KEY + "_whitxxxeList";
            String memKey = "http://staging.lc-pcs-core.fund.xiaomi.srv/services/appSettingService";
            String value = zmemcachedClient.get(memKey);
            System.out.println("value:" + value);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
